Optimal. Leaf size=89 \[ -\frac {a^2 \cos (e+f x) (c-c \sin (e+f x))^{7/2}}{10 f \sqrt {a+a \sin (e+f x)}}-\frac {a \cos (e+f x) \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{7/2}}{5 f} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.13, antiderivative size = 89, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {2819, 2817}
\begin {gather*} -\frac {a^2 \cos (e+f x) (c-c \sin (e+f x))^{7/2}}{10 f \sqrt {a \sin (e+f x)+a}}-\frac {a \cos (e+f x) \sqrt {a \sin (e+f x)+a} (c-c \sin (e+f x))^{7/2}}{5 f} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2817
Rule 2819
Rubi steps
\begin {align*} \int (a+a \sin (e+f x))^{3/2} (c-c \sin (e+f x))^{7/2} \, dx &=-\frac {a \cos (e+f x) \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{7/2}}{5 f}+\frac {1}{5} (2 a) \int \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{7/2} \, dx\\ &=-\frac {a^2 \cos (e+f x) (c-c \sin (e+f x))^{7/2}}{10 f \sqrt {a+a \sin (e+f x)}}-\frac {a \cos (e+f x) \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{7/2}}{5 f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.64, size = 146, normalized size = 1.64 \begin {gather*} -\frac {c^3 (-1+\sin (e+f x))^3 (a (1+\sin (e+f x)))^{3/2} \sqrt {c-c \sin (e+f x)} (20 \cos (2 (e+f x))+5 \cos (4 (e+f x))+70 \sin (e+f x)+5 \sin (3 (e+f x))-\sin (5 (e+f x)))}{80 f \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^7 \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 15.48, size = 106, normalized size = 1.19
method | result | size |
default | \(\frac {\left (-c \left (\sin \left (f x +e \right )-1\right )\right )^{\frac {7}{2}} \sin \left (f x +e \right ) \left (a \left (1+\sin \left (f x +e \right )\right )\right )^{\frac {3}{2}} \left (2 \left (\cos ^{6}\left (f x +e \right )\right )+\sin \left (f x +e \right ) \left (\cos ^{4}\left (f x +e \right )\right )+2 \left (\cos ^{4}\left (f x +e \right )\right )+3 \sin \left (f x +e \right ) \left (\cos ^{2}\left (f x +e \right )\right )+6 \sin \left (f x +e \right )+6\right )}{10 f \cos \left (f x +e \right )^{7}}\) | \(106\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.34, size = 108, normalized size = 1.21 \begin {gather*} \frac {{\left (5 \, a c^{3} \cos \left (f x + e\right )^{4} - 5 \, a c^{3} - 2 \, {\left (a c^{3} \cos \left (f x + e\right )^{4} - 2 \, a c^{3} \cos \left (f x + e\right )^{2} - 4 \, a c^{3}\right )} \sin \left (f x + e\right )\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c}}{10 \, f \cos \left (f x + e\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.53, size = 110, normalized size = 1.24 \begin {gather*} -\frac {8 \, {\left (4 \, a c^{3} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{10} - 5 \, a c^{3} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{8}\right )} \sqrt {a} \sqrt {c}}{5 \, f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 8.92, size = 111, normalized size = 1.25 \begin {gather*} \frac {a\,c^3\,\sqrt {a\,\left (\sin \left (e+f\,x\right )+1\right )}\,\sqrt {-c\,\left (\sin \left (e+f\,x\right )-1\right )}\,\left (20\,\cos \left (e+f\,x\right )+25\,\cos \left (3\,e+3\,f\,x\right )+5\,\cos \left (5\,e+5\,f\,x\right )+75\,\sin \left (2\,e+2\,f\,x\right )+4\,\sin \left (4\,e+4\,f\,x\right )-\sin \left (6\,e+6\,f\,x\right )\right )}{80\,f\,\left (\cos \left (2\,e+2\,f\,x\right )+1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________